import { FormRules } from 'element-plus'
import { $t } from '@/utils/vue_pbulic'
export const loginRules: FormRules = {
  username: [
    {
      required: true,
      message: $t('common.no_required_rule', { value: $t('login.name') }),
      trigger: 'blur'
    }
  ],
  password: [
    {
      required: true,
      message: $t('common.no_required_rule', { value: $t('login.password') }),
      trigger: 'blur'
    }
  ]
}
